/*
 * Powered By [rapid-framework]
 * Web Site: http://www.rapid-framework.org.cn
 * Google Code: http://code.google.com/p/rapid-framework/
 * Since 2008 - 2016
 */

package com.jzwl.site.manager.contentv2.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.jzwl.common.page.PageObject;
import com.jzwl.site.manager.contentv2.dao.SiteContentV2Dao;


@Service("siteContentV2Service")
public class SiteContentV2Service {
	
	
	@Autowired
	private SiteContentV2Dao siteContentV2Dao;
	
	public boolean addSiteContentV2(Map<String, Object> map) {
		
		return siteContentV2Dao.addSiteContentV2(map);
		
	}

	public PageObject querySiteContentV2List(Map<String, Object> map) {
		
		return siteContentV2Dao.querySiteContentV2List(map);
	
	}

	public boolean updateSiteContentV2(Map<String, Object> map) {
	
		return siteContentV2Dao.updateSiteContentV2(map);
	
	}

	public boolean deleteSiteContentV2(Map<String, Object> map) {
		
		return siteContentV2Dao.deleteSiteContentV2(map);
	
	}
	
	public boolean delSiteContentV2(Map<String, Object> map) {
		
		return siteContentV2Dao.delSiteContentV2(map);
	}
	
	
	@SuppressWarnings("unchecked")
	public Map<String,Object> getByContenId(Map<String, Object> map) {
		
		return siteContentV2Dao.getByContenId(map);
	}
	/**
	 * 
	 * 项目名称：
	 * 描述：对应数据库设计时对应的下拉，单选框 值-名
	 * 创建人： 
	 * 创建时间：
	 * 标记：
	 * @return
	 * @version
	 */
	public List<Map<String,Object>> querySelectValue(Map<String,Object> map){ 
		
		return siteContentV2Dao.querySelectValue(map);
	}
	
	
	
}
